package com.common.base;

public class ResponseBase<T> {
    public String code;
    public String msg;
    public T date;

    public ResponseBase(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ResponseBase() {
    }

    public ResponseBase(String code, String msg, T date) {
        this.code = code;
        this.msg = msg;
        this.date = date;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
}
